home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Power Programmierung
/
Power-Programmierung (Tewi)(1994).iso
/
magazine
/
pcmagazi
/
1988
/
19
/
wipe2.bat
< prev
Wrap
DOS Batch File
|
1988-10-11
|
437b
|
18 lines
ECHO OFF
CLS
IF "%1" == "" GOTO HELP
ECHO Files matching %1 are about to be permanently deleted!!
ECHO To exit press [CTRL-BREAK] or
PAUSE
ECHO This file has been wiped... > WIPE.DAT
FOR %%f IN (%1) DO COPY WIPE.DAT %%f > NUL
DEL WIPE.DAT
DEL %1
ECHO %1 deleted
GOTO END
:HELP
ECHO To permanently delete a file or set of files, type
ECHO "WIPE filespec"
ECHO ...where filespec may contain wildcards.
:END